package com.laituo.juyou.data.dto.goods;

import com.laituo.juyou.data.annotation.DtoDescription;
import com.laituo.juyou.data.dto.SuperDTO;
import lombok.Data;
import lombok.ToString;

/**
 * @author kaixin
 * @date 2020/3/7
 */
@Data
@ToString
public class StockSkuDTO extends SuperDTO {

    @DtoDescription(description = "规格id")
    private Long skuId;

    @DtoDescription(description = "条形码")
    private String barCode;

    @DtoDescription(description = "SKU名称")
    private String title;

    @DtoDescription(description = "商品id")
    private Long spuId;

    @DtoDescription(description = "商品名称")
    private String spuTitle;

    @DtoDescription(description = "商品单位")
    private String unit;

    @DtoDescription(description = "原价")
    private Integer originalPrice;

    @DtoDescription(description = "当前售价")
    private Integer price;

    @DtoDescription(description = "可销售量")
    private Integer stock;

}
